package com.mllweb.blog.core.regex;

/**
 * 正则通用匹配
 */
public enum RegexPattern {
    EMAIL("^\\w[\\w-]*@([A-Za-z0-9][-A-Za-z0-9]+\\.)+[A-Za-z]{2,14}$"),
    PHONE("^((13[0-9])|(15[^4])|(18[0-9])|(17[0-8])|(147,145))\\\\d{8}$");

    private String value;

    public String getValue() {
        return value;
    }

    RegexPattern(String value) {
        this.value = value;
    }
}
